var height = document.documentElement.scrollHeight;
axios.get("/getLoginUserInfo")
    .then(function (response) {
        let data = response.data;
        if(data.uid==null){
            window.location='login.html';
        }else {
            var user =new Vue({
                el:'#user',
                data:{
                    remove:data.remove,
                    know:data.know,
                    familiar:data.know,
                    execute:data.execute,
                    name:data.name,
                    avatar:data.avatar
                }
            });
        }
    })


